package homework6_24.practice5.jiekou;

public abstract class Swimmer {
	private String name;
	private String speed;

	public Swimmer(String name, String speed) {
		this.name = name;
		this.speed = speed;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSpeed() {
		return speed;
	}

	public void setSpeed(String speed) {
		this.speed = speed;
	}
}
